const dbserver = require('../dao/dbSever')

//用户注册
exports.signUp = (req, res) => {
    let { name, email, psw } = req.body





    dbserver.buildUser(name, email, psw, res)
}
//是否注册
exports.isSignUp = (req, res) => {
    let { name, mail } = req.body
    dbserver.countUserValues(name, mail, res)
}